import request from '@/utils/request'

//上传zip文件
export function uploadzip(data) {
    return request({
      url: '/demo/uploadfile/uploadzip',
      method: 'post',
      data: data,
      headers: { 'Content-Type': 'multipart/form-data' }
    })
  }
//上传加密文件字符串
export function uploadbase64(data) {
  return request({
    url: '/demo/uploadfile/uploadbase64',
    method: 'post',
    data: data,
    headers: { 'Content-Type': 'multipart/form-data' }
  })
}

  //上传加密文件字符串
export function uploadnormal(data) {
  return request({
    url: '/demo/uploadfile/uploadnormal',
    method: 'post',
    data: data,
    headers: { 'Content-Type': 'multipart/form-data' }
  }) 
}

  //上传加密文件字符串
export function filecompare(data) {
    return request({
      url: '/demo/file/compare',
      method: 'post',
      data: data,
      headers: { 'Content-Type': 'multipart/form-data' }
    }) 
  }